package com.young.shop.pojo.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class OrderList {
    private Long Id;
    private double paymentAmount;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date CreationTime;
    private int status;
    private int userId;

    @Override
    public String toString() {
        return "OrderList{" +
                "Id=" + Id +
                ", paymentAmount=" + paymentAmount +
                ", CreationTime=" + CreationTime +
                ", status=" + status +
                ", userId=" + userId +
                '}';
    }

    public Long getId() {
        return Id;
    }

    public void setId(Long id) {
        Id = id;
    }

    public double getPaymentAmount() {
        return paymentAmount;
    }

    public void setPaymentAmount(double paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

    public Date getCreationTime() {
        return CreationTime;
    }

    public void setCreationTime(Date creationTime) {
        CreationTime = creationTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }
}
